/*
 * @(#)StandardReferenceNoProcessor.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.dms.core;

import com.dcivision.dms.bean.DmsDocument;
import com.dcivision.framework.ApplicationException;

/**
  StandardReferenceNoProcessor.java

  Standard reference no generation.

    @author          Rollo Chan
    @company         DCIVision Limited
    @creation date   30/12/2003
    @version         $Revision: 1.3 $
*/

public class StandardReferenceNoProcessor implements ReferenceNoProcessor {

  public static final String REVISION = "$Revision: 1.3 $";


  public StandardReferenceNoProcessor() {
  }

  public String generateReferenceNo(DmsDocument dmsDoc) throws ApplicationException {
    return dmsDoc.getReferenceNo();
  }

}